package com.xmy.cultivate.feign.math;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "math-outside")
public interface IMathematicsFeignClient {

    @GetMapping("/api/outside/eduTask/getTaskNowMaxLessonNum")
    public Integer getTaskNowMaxLessonNum(@RequestParam(value = "yearPart",required = false,defaultValue = "0") String yearPart,
                                    @RequestParam(value = "quarterNum",required = false,defaultValue = "0") String quarterNum,
                                    @RequestParam(value = "subjectsId",required = false,defaultValue = "0") String subjectsId,
                                    @RequestParam(value = "courseVersionId",required = false,defaultValue = "1676874588501311488") Long courseVersionId,
                                    @RequestParam(value = "categoryId",required = false,defaultValue = "1") Integer categoryId);
}
